if __name__ == '__main__':
# 0
# type 'function'

    def func():
        pass
    print(type(func()))

# 1
# type 'int'
    print(type(1j))



# 2
# type 'function'       ok

# 3
# len()长度7             ok

# 4
# 抛出异常              ok


# 5
# 666   艹

#6
#抛出异常
    # values = [1,1,2,3,5]
    # nums = set(values)
    #
    # def checkit(num):
    #     if num in nums:
    #         return True
    #     else:
    #         return False
    #
    # for i in filter(checkit,values):
    # print(i,end=" ")

#7
#1 1 4 9 25         ok

#8
# 2

    # class A:
    #     def __init__(self,x):
    #         self.x = x
    # a = A(100)
    # a.__dict__['y'] = 50
    # print(a.y + len(a.__dict__))


#9
#__main__           ok


#10
#len() is 0

    # country = 'aaa'
    #
    # def addone():
    #     print(country)
    # addone()

#11
#???

    # dict1 = {}
    # dict1[1] = 1
    # dict1['1'] = 2
    # dict1[1.0] = 3
    # print(dict1)
    #整形和浮点型若==可覆盖

#12
#d,dict

    # def dosuff(param1,*param2):
    #     print(type(param2))
    # dosuff('faefe','3232',4334)
    #收集型参数为元组类型

#13
#2

#14
#6

    list1 = [1,2]
    list2 = [3,4]
    dict1 = {'1':list1,'2':list2}
    dict2 = dict1.copy()

    dict1['1'][0] = 5
    print(dict2['1'][0])


    #.copy是拷贝地址啊啊啊啊


#15
#6

    name = ['大','黄']

    for each in name:
        print(each)